//javaScript
function va(form){
	var loname= document.getElementById("loname1").value;
	var uname= document.getElementById("uname1").value;
	 var email= document.getElementById("email1").value;
	 var pwd1= document.getElementById("pwd1").value;
	 var pwd2= document.getElementById("pwd2").value;
	 var date= new Date();
 var registertime= date.getFullYear()+"/"+date.getMonth()+"/"+date.getDate()+" "+date.getHours()+":"+date.getMinutes()+":"+date.getSeconds();
 document.getElementById("registertime1").value=registertime;
 document.getElementById("role").value=1;
  if(uname!="" && loname!="" && email!="" && pwd1!="" && pwd1==pwd2){
    alert('注册成功,稍后请验证邮箱');
    return true;
  }
  alert('抱歉,注册失败,请核对您输入的信息');
  return false;
 }